//
//  Glob.h
//  youthNote
//
//  Created by huangrensheng on 15/12/30.
//  Copyright © 2015年 laber. All rights reserved.
//  一些常用的宏定义

#ifndef Glob_h
#define Glob_h

#define SCREEN_HEIGHT \
[UIScreen mainScreen].bounds.size.height


#define SCREEN_WIDTH [UIScreen mainScreen].bounds.size.width

#define IOS7 ([[[UIDevice currentDevice] systemVersion] floatValue] < 8.0)

#define inset(padding) @(padding)

//自定义颜色
#define COLOR_DEFINE(COLOR)\
[UIColor colorWithHexa:COLOR]

//导航栏颜色
#define BAR_COLOR [UIColor colorWithHexa:@"#56abe4"]

#define BAR_SELECT_COLOR [UIColor colorWithHexa:@"#4297D0"]
//普通图片的颜色
#define BAR_NORMAL_COLOR [UIColor colorWithHexa:@"#a9b7b7"]
//按钮边框颜色
#define BUTTON_BODER_COLOR [UIColor colorWithHexa:@"#CCCCCC"]

//导航栏文字颜色
#define BARTITLE_COLOR [UIColor colorWithHexa:@"#ff9999"]

//背景色
#define BACK_COLOR [UIColor colorWithHexa:@"#F5F5F5"]
//蓝色
#define BLUE_COLOR [UIColor colorWithHexa:@"#3fa9f5"]
//粉色
#define POWDER_COLOR [UIColor colorWithHexa:@"#f477ab"]

//灰色
#define GREY_COLOR [UIColor colorWithHexa:@"#999999"]
//淡灰
#define GRAYISH_COLOR [UIColor colorWithHexa:@"#989898"]
//浅灰
#define GREY_LOW_COLOR [UIColor colorWithHexa:@"#C4C4C4"]
//深灰
#define DARK_GRAY_COLOR [UIColor colorWithHexa:@"#808080"]

//深黑
#define BLACK_DARK_COLOR [UIColor colorWithHexa:@"#4D4D4D"]
//黑色
#define BLACK_COLOR [UIColor colorWithHexa:@"#333333"]
//浅黑
#define BLACK_LOW_COLOR [UIColor colorWithHexa:@"#666666"]

//红色
#define RED_COLOR [UIColor colorWithHexa:@"#FF5629"]
//浅红
#define RED_LOW_COLOR [UIColor colorWithHexa:@"#ff6529"]

//分割线颜色
#define LINE_COLOR [UIColor colorWithHexa:@"#e6e6e6"]

#define LINE_LOW_COLOR [UIColor colorWithHexa:@"#FAFAFA"]


//常用字体大小

//特大
#define FONT_LARGE 24.0
//大
#define FONT_BIG (20.0)
//
#define FONT_BIGER (18.0)
//中
#define FONT_MIDDLE (16.0)
//中小
#define FONT_LITTLE_MIDDLE (15.0)
//小
#define FONT_SMALL (14.0)
//小小
#define FONT_LITTLE_SMALL (13.0)
//较小
#define FONT_LITTLE (12.0)
//最小
#define FONT_LITTLE_LITTLE (10.0)


#endif /* Glob_h */
